#include <iostream>

using namespace std;
int calc(int x,int y,char c)
{
	switch(c)
	{
		case '+':
			return x+y;
		case '-':
			return x-y;
		case '*':
			return x*y;
		case '/':
			return x/y;
		case '%':
			return x%y;
	}
}
int main()
{
	int a,b;
	char c;
	scanf("%d %c%d",&a,&c,&b);
//	cin >> a >> c >> b;
	cout << calc(a,b,c) << endl;
	
	
	
	
	
	return 0;
}
